package main

import "fmt"

func showTypeAndValue(name string, a interface{}) {
	fmt.Printf("%s is %T = %v\n", name, a, a)
}

func main() {
	var i int
	i = 1
	showTypeAndValue("i", i)
	j := uint8(2)
	showTypeAndValue("j", j)
	_, k := false, true
	showTypeAndValue("k", k)
	a := 1.0
	showTypeAndValue("a", a)
	c := (1 + 1i) * (1 - 1i)
	showTypeAndValue("c", c)
}
